﻿using System.Diagnostics;
using System;

namespace Lilium.Web.Mvc.Metadata
{
	public class DisplayMetadataExtension
	{
		public DisplayMetadataExtension(bool scaffold, string templateName, bool hideSurroundingChrome)
		{
			m_Scaffold = scaffold;
			m_TemplateName = templateName;
			m_HideSurroundingChrome = hideSurroundingChrome;
		}

		#region public bool Scaffold

		private readonly bool m_Scaffold;

		public bool Scaffold
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_Scaffold;
			}
		}

		#endregion

		#region public string TemplateName

		private readonly string m_TemplateName;

		public string TemplateName
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_TemplateName;
			}
		}

		#endregion

		#region public bool HideSurroundingChrome

		private bool m_HideSurroundingChrome;

		public bool HideSurroundingChrome
		{
			[DebuggerNonUserCodeAttribute]
			get
			{
				return m_HideSurroundingChrome;
			}
			[DebuggerNonUserCodeAttribute]
			set
			{
				m_HideSurroundingChrome = value;
			}
		}

		#endregion
	}
}
